package com.gitee.zycra.future.job.common.bo;

import com.gitee.zycra.jdbc.annotation.Column;
import com.gitee.zycra.jdbc.annotation.Table;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * @author zycra
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@Table
public class JobLastLogBO {

    /**
     * 节点IP
     */
    @Column("node_ip")
    private String nodeIp;

    /**
     * 任务进度
     *
     * @see com.gitee.zycra.future.job.common.enums.ScheduleRatioEnum
     */
    @Column("schedule_ratio")
    private Integer scheduleRatio;
}
